#include "StdAfx.h"
#include "IndexedFramePool.hxx"


IndexedFramePool::IndexedFramePool(void)
{
}


IndexedFramePool::~IndexedFramePool(void)
{
}

char* IndexedFramePool::getFrame( int index )
{
	char* result = 0;

	if( index > -1 && index < _pageCount )
		result = _pool + index * _pageSize;

	return result;
}
